package com.ruoyi.project.lesson.banner.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 课程banner对象 lesson_banner
 * 
 * @author shixiangwen
 * @date 2020-12-07
 */
public class LessonBanner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 课程ID */
    @Excel(name = "课程ID")
    private Long lessonId;

    /** 类型 */
    @Excel(name = "类型")
    private Integer resType;

    /** 地址 */
    @Excel(name = "地址")
    private String resUri;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLessonId(Long lessonId) 
    {
        this.lessonId = lessonId;
    }

    public Long getLessonId() 
    {
        return lessonId;
    }
    public void setResType(Integer resType) 
    {
        this.resType = resType;
    }

    public Integer getResType() 
    {
        return resType;
    }
    public void setResUri(String resUri) 
    {
        this.resUri = resUri;
    }

    public String getResUri() 
    {
        return resUri;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setCreatedTime(Date createdTime) 
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() 
    {
        return createdTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("lessonId", getLessonId())
            .append("resType", getResType())
            .append("resUri", getResUri())
            .append("sort", getSort())
            .append("createdTime", getCreatedTime())
            .toString();
    }
}
